#!/usr/bin/env python
# coding=utf8

from __init__ import db
from __init__ import ORMBase

class SendHistory(ORMBase, db.Model):
    __tablename__ = 'send_history'

    id = db.Column(db.Integer, primary_key=True, doc="主键")
    user_id = db.Column(db.Integer, db.ForeignKey('user.id'), doc="外键，关联user表")
    send_time = db.Column(db.Integer, doc="登陆身份")
    detail = db.Column(db.String(200), doc="登陆密钥")
